package com.kt.kvw.user;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * Created with IntelliJ IDEA.
 * Desc:
 *
 * @author: keen
 * Date: 2020-07-04
 * Time: 21:29
 */
@MapperScan(basePackages = {"com.kt.kvw.user.dao"})
@SpringBootApplication
public class UserCenterApplication extends SpringBootServletInitializer {
    private static Logger log=LoggerFactory.getLogger(UserCenterApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(UserCenterApplication.class);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(UserCenterApplication.class);
    }
}
